package cn.lcfms.app.index.controller;


import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller("index.IndexController")
@RequestMapping("/index/index")
public class IndexController extends IndexBaseController{

	@RequestMapping("/lcfms")
	public String lcfms(HttpServletRequest request) {
		String basePath=(String) request.getAttribute("APP");
    	request.setAttribute("JS", basePath+"statics/tag/js/"); 
    	request.setAttribute("CSS", basePath+"statics/tag/css/"); 
    	request.setAttribute("IMG", basePath+"statics/tag/images/");   
    	request.setAttribute("FILE", basePath+"statics/tag/file/");   
		return "index/lcfms";
	}
	
	@RequestMapping("/index")
	public String index(HttpServletRequest request) {
		return "index/index";
	}
	
}
